package cn.fzkj.gulimall.member.dao;

import cn.fzkj.gulimall.member.entity.MemberLevelEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 会员等级
 * 
 * @author chenxin
 * @email chenxin@gmail.com
 * @date 2022-02-18 19:11:04
 */
@Mapper
public interface MemberLevelDao extends BaseMapper<MemberLevelEntity> {

    @Select("select id from ums_member_level where default_status = 1;")
    long getDefaultLevel();
}
